package CommonLibrary.Commnads;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "CreateGameRequest")
public class CreateGameRequest extends Command{

    @XmlElement(required = true)
    private int playerID;
    @XmlElement(required = true)
    private int side;

    public CreateGameRequest()
    {
        this.id = 12;
    }
    
    public int getPlayerID()
    {
        return this.playerID;
    }
    
    public void setPlayerID(int id)
    {
        this.playerID = id;
    }
    
    public int getSide()
    {
        return this.side;
    }

    public void setSide(int side)
    {
        this.side = side;
    }
}